import os
account = {"aaa":r"E:\workspace\mypython\src\python5-17\temp"}
input_name = input("输入用户名:")
for name,path in account.items():
    if input_name == name:
        #print(os.getcwd())
        if os.path.exists(path):
            print("%s存在用户且目录存在:%s"%(name,path))
            for temp in os.listdir(path):
                if os.path.getsize(os.path.join(path,temp)) > 1024:
                    print("%s过大"%temp)
        else:
            print("%s用户存在，目录不正确"%name)
    else:
        print("不存在%s用户"%name)

